package com.example.teamtribe.json;

import com.example.teamtribe.database.Posting;

public class JsonPosting {

    private int code;
    private Posting post;

    public int getCode() {
        return code;
    }

    public Posting getPosting() {
        post.setRealId(post.getId());
        post.setId(0);
        return post;
    }
}
